import request from '@/utils/request'

// 查询班级列表
export function listClass(query) {
    return request({
        url: '/sqlserverdata/classInfoList',
        method: 'get',
        params: query
    })
}
//详细查询班级代码
export function getClassdm(bjdm) {
    return request({
        url: '/sqlserverdata/getClassInfodm/'+bjdm,
        method: 'get'
    })
}
// 同步班级信息
export function syncClassinfo() {
    return request({
        url: "/sqlserverdata/synchronousClass",
        method: 'post'
    })
}
